package cn.ven.service;



import cn.ven.entity.MyUser;
import com.baomidou.mybatisplus.extension.service.IService;
import org.omg.CORBA.PUBLIC_MEMBER;

import java.util.List;

public interface UserService{
    public List<MyUser> selectAllUser();//查找所有的用户
    public void addUser(MyUser user);//添加用户
    public MyUser findById(int id);//根据id查找用户
    public MyUser findByUsername(String username);
    public List<MyUser> selectAllByClosedAndRole(int closed,String role);//根据closed和role查找相对的用户
    public void delUser(int uid);//根据uid删除用户
    public void updateUser(MyUser user);//更新用户信息
}
